package com.luck.emp.whorder.qry;

import java.io.Serializable;
import java.util.Date;

import com.luck.pf.util.BaseQuery;
import com.luck.pf.util.DateUtil;

/**
 * 说明 Copyright: Copyright (c) 2011 深圳**科技
 * 
 * @author
 * 
 */
public class WhorderQry extends BaseQuery implements Serializable {
	String pk;
	/**
	 * 订单编码
	 **/
	String orderCode;
	/**
	 * 单据类型：采购单，调拨单等
	 **/
	String billType;
	String ioType;//出入库类型
	/**
	 * 订单状态
	 **/
	String status;
	/**
	 * 出入库机构
	 **/
	Long ioDeptId;
	String deptName;
	/**
	 * 来源单号(销售单等)
	 **/
	String receiptNo;
	/**
	 * 仓库编码
	 **/
	String whCode;
	/**
	 * 出入库：1－出库； 2－入库
	 **/
	String ioKind;
	private Date startDate;
	private Date endDate;

	public String getOrderCode() {
		return this.orderCode;
	}

	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}

	public String getBillType() {
		return this.billType;
	}

	public void setBillType(String billType) {
		this.billType = billType;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Long getIoDeptId() {
		return this.ioDeptId;
	}

	public void setIoDeptId(Long ioDeptId) {
		this.ioDeptId = ioDeptId;
	}

	public String getReceiptNo() {
		return this.receiptNo;
	}

	public void setReceiptNo(String receiptNo) {
		this.receiptNo = receiptNo;
	}

	public String getWhCode() {
		return this.whCode;
	}

	public void setWhCode(String whCode) {
		this.whCode = whCode;
	}

	public String getIoKind() {
		return ioKind;
	}

	public void setIoKind(String ioKind) {
		this.ioKind = ioKind;
	}

	public String getPk() {
		return pk;
	}

	public void setPk(String pk) {
		this.pk = pk;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getIoType() {
		return ioType;
	}

	public void setIoType(String ioType) {
		this.ioType = ioType;
	}

	public String getStartDateStr() {
		return DateUtil.dateToString(this.startDate, DateUtil.patternA);
	}

	public String getEndDateStr() {
		return DateUtil.dateToString(this.endDate, DateUtil.patternA);
	}

}